package com.quanyan.user.model.vo.response;

import java.io.Serializable;

/**
 * 图片对象
 * Created by Administrator on 2016/11/10.
 */
public class ImageObj implements Serializable {

    private static final long serialVersionUID = -3244990435716823401L;

    private Integer id = 0;
    /**
     * 图片状态（0：不可用；1、可用）
     */
    private Integer state = 1;

    /**
     * 图片类型（具体的到表示 在以后用到，暂时不予考虑
     */
    private Integer isMain;

    /**
     * 缩略图
     */
    private String thumbnailUrl ="";

    /**
     * 正常图
     */
    private String  imageUrl;

    //动态id: （备用字段 可不理会）
    private Integer newsId;

    private Double height;

    private Double width;

    private Integer seq = 10;

    /**
     * 图片推荐标致
     */
    private Integer choiceFlg = 0;

    public Integer getChoiceFlg() {
        return choiceFlg;
    }

    public void setChoiceFlg(Integer choiceFlg) {
        this.choiceFlg = choiceFlg;
    }

    public Integer getSeq() {
        return seq;
    }

    public void setSeq(Integer seq) {
        this.seq = seq;
    }

    public Double getHeight() {
        return height;
    }

    public void setHeight(Double height) {
        this.height = height;
    }

    public Double getWidth() {
        return width;
    }

    public void setWidth(Double width) {
        this.width = width;
    }

    public Integer getNewsId() {
        return newsId;
    }

    public void setNewsId(Integer newsId) {
        this.newsId = newsId;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getState() {
        return state;
    }

    public void setState(Integer state) {
        this.state = state;
    }

    public Integer getIsMain() {
        return isMain;
    }

    public void setIsMain(Integer isMain) {
        this.isMain = isMain;
    }

    public String getThumbnailUrl() {
        return thumbnailUrl;
    }

    public void setThumbnailUrl(String thumbnailUrl) {
        this.thumbnailUrl = thumbnailUrl;
    }

    public String getImageUrl() {
        return imageUrl;
    }

    public void setImageUrl(String imageUrl) {
        this.imageUrl = imageUrl;
    }

    @Override
    public String toString() {
        return "ImageObj{" +
                "id=" + id +
                ", state=" + state +
                ", isMain=" + isMain +
                ", thumbnailUrl='" + thumbnailUrl + '\'' +
                ", imageUrl='" + imageUrl + '\'' +
                ", newsId=" + newsId +
                ", height=" + height +
                ", width=" + width +
                ", seq=" + seq +
                ", choiceFlg=" + choiceFlg +
                '}';
    }
}
